package com.practice.book.adapter;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2025-01-24
 * Time: 22:56
 */
public class Sl4jLog4jAdapter implements Sl4jApi{
    private Log4jApi log4jApi;

    public Sl4jLog4jAdapter(Log4jApi log4jApi) {
        this.log4jApi = log4jApi;
    }
    @Override
    public void log(String log) {
        log4jApi.print(log);
    }
}
